package com.example.shushiyunsst.fragment.main.home.child.new_sale.chlid.category.bean;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;

public class GoodsListBean implements Serializable {

    //商品ID ,
    @JSONField(name = "gid", defaultValue = "")
    private int gid;

    // 商品名字 ,
    @JSONField(name = "goodsName", defaultValue = "")
    private String goodsName;

    //商品价格 ,
    @JSONField(name = "goodsPrice", defaultValue = "")
    private String goodsPrice;

    //商品头部图片 ,
    @JSONField(name = "goodsPics", defaultValue = "")
    private String goodsPics;

    //商品颜色
    @JSONField(name = "goodsColor", defaultValue = "")
    private String goodsColor;

    //商品尺寸 ,
    @JSONField(name = "goodsSize", defaultValue = "")
    private String goodsSize;

    // 库存 ,
    @JSONField(name = "goodsStock", defaultValue = "")
    private int goodsStock;

    //销量 ,
    @JSONField(name = "goodsSales", defaultValue = "")
    private int goodsSales;

    //商品原价 ,
    @JSONField(name = "goodsOldPrice", defaultValue = "")
    private int goodsOldPrice;

    //商品详情描述，多张图片
    @JSONField(name = "goodsContent", defaultValue = "")
    private String goodsContent;

    // 创建时间 ,
    @JSONField(name = "createTime", defaultValue = "")
    private String createTime;

    //更新时间
    @JSONField(name = "updateTime", defaultValue = "")
    private String updateTime;

    //运费
    @JSONField(name = "goodsFare", defaultValue = "")
    private int goodsFare;

    //分类ID
    @JSONField(name = "catId", defaultValue = "")
    private String catId;

    //商品状态
    @JSONField(name = "goodsStatus", defaultValue = "")
    private String goodsStatus;

    @JSONField(name = "defaultPic", defaultValue = "")
    private String defaultPic;

    @JSONField(name = "givenCml", defaultValue = "")
    private double givenCml;

    public double getGivenCml() {
        return givenCml;
    }

    public void setGivenCml(double givenCml) {
        this.givenCml = givenCml;
    }

    public String getDefaultPic() {
        return defaultPic;
    }

    public void setDefaultPic(String defaultPic) {
        this.defaultPic = defaultPic;
    }

    @JSONField(name = "isCollect")
    private int isCollect;

    public int getGid() {
        return gid;
    }

    public void setGid(int gid) {
        this.gid = gid;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(String goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public String getGoodsPics() {
        return goodsPics;
    }

    public void setGoodsPics(String goodsPics) {
        this.goodsPics = goodsPics;
    }

    public String getGoodsColor() {
        return goodsColor;
    }

    public void setGoodsColor(String goodsColor) {
        this.goodsColor = goodsColor;
    }

    public String getGoodsSize() {
        return goodsSize;
    }

    public void setGoodsSize(String goodsSize) {
        this.goodsSize = goodsSize;
    }

    public int getGoodsStock() {
        return goodsStock;
    }

    public void setGoodsStock(int goodsStock) {
        this.goodsStock = goodsStock;
    }

    public int getGoodsSales() {
        return goodsSales;
    }

    public void setGoodsSales(int goodsSales) {
        this.goodsSales = goodsSales;
    }

    public int getGoodsOldPrice() {
        return goodsOldPrice;
    }

    public void setGoodsOldPrice(int goodsOldPrice) {
        this.goodsOldPrice = goodsOldPrice;
    }

    public String getGoodsContent() {
        return goodsContent;
    }

    public void setGoodsContent(String goodsContent) {
        this.goodsContent = goodsContent;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public int getGoodsFare() {
        return goodsFare;
    }

    public void setGoodsFare(int goodsFare) {
        this.goodsFare = goodsFare;
    }

    public String getCatId() {
        return catId;
    }

    public void setCatId(String catId) {
        this.catId = catId;
    }

    public String getGoodsStatus() {
        return goodsStatus;
    }

    public void setGoodsStatus(String goodsStatus) {
        this.goodsStatus = goodsStatus;
    }

    public int getIsCollect() {
        return isCollect;
    }

    public void setIsCollect(int isCollect) {
        this.isCollect = isCollect;
    }
}
